﻿<UserControl x:Class="AesonIntegrationTestModul.Views.TestDetails.TestDetailsView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:prism="clr-namespace:Microsoft.Practices.Prism.Mvvm;assembly=Microsoft.Practices.Prism.Mvvm.Desktop"
            
             xmlns:inputs="clr-namespace:AesonXamlControls.Inputs;assembly=AesonXamlControls"

             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <Grid  DataContext="{Binding Content}">
        <StackPanel>
            <inputs:AesonTextBox Desc="TestID" Value="{Binding TestID}" KeyVal="TestID" ></inputs:AesonTextBox>
            <inputs:AesonTextBox Desc="Statut" Value="{Binding Statut}" KeyVal="Statut" ></inputs:AesonTextBox>
            <inputs:AesonTextBox Desc="Duration" Value="{Binding Duration}" KeyVal="Duration" ></inputs:AesonTextBox>
            <inputs:AesonTextBox Desc="StartDate" Value="{Binding StartDate}" KeyVal="StartDate" ></inputs:AesonTextBox>
            <inputs:AesonTextBox Desc="EndDate" Value="{Binding EndDate}" KeyVal="EndDate" ></inputs:AesonTextBox>
            <inputs:AesonTextBox Desc="Message" Value="{Binding Message}" KeyVal="Message" ></inputs:AesonTextBox>
            <inputs:AesonTextBox Desc="MessageCount" Value="{Binding MessageCount}" KeyVal="MessageCount" ></inputs:AesonTextBox>
            <inputs:AesonTextBox Desc="Method" Value="{Binding Method}" KeyVal="Method" ></inputs:AesonTextBox>
            <inputs:AesonTextBox Desc="StackTrace" Value="{Binding StackTrace}" KeyVal="StackTrace" ></inputs:AesonTextBox>
            <inputs:AesonTextBox Desc="Statut" Value="{Binding Statut}" KeyVal="Statut" ></inputs:AesonTextBox>
            <ListView ItemsSource="{Binding Events}" >
                <ListView.ItemTemplate>
                    <DataTemplate>
                        <StackPanel Orientation="Horizontal" >
                            <TextBlock Text="{Binding Date}" ></TextBlock>
                            <TextBlock Text="  " ></TextBlock>
                            <TextBlock Text="{Binding Message}" ></TextBlock>
                        </StackPanel>
                    </DataTemplate>
                </ListView.ItemTemplate>
            </ListView>
        </StackPanel>
       
    </Grid>
</UserControl>
